allwinner: Disable unused features to save space
authorSamuel Holland <[email protected]>
Sat, 8 Jun 2019 21:03:32 +0000 (16:03 -0500)
committerSamuel Holland <[email protected]>
Sat, 8 Jun 2019 21:48:39 +0000 (16:48 -0500)
commit8f31853babcee794d3f282c1584abe72e1bbd8b5
tree8e480f33824d75db8cf9c6d29ad77bed836c9852
parent74eaf2666df8cf33bf74f7c08b3d96ad2166c1d5
allwinner: Disable unused features to save space

As all Allwinner platforms are single-cluster A53 chips, we can disable
support for newer, unsupported architecture extensions. We can also
avoid some cache maintenance code, since no platform-specific setup is
required to enable coherency.

These changes reduce the size of .text on a default build with GCC 9.1
enough that .vectors again fits in the second half of a page, instead
of requiring its own page.

This commit was boot-tested on the Pinebook.

Signed-off-by: Samuel Holland <[email protected]>
Change-Id: Ib90454ef0c798d5e714b7780c585be0b1ed49c6d
plat/allwinner/common/allwinner-common.mk